package com.healthcloud.dao;

import java.util.ArrayList;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.healthcloud.entity.MedicationGuid;
import com.healthcloud.entity.MedicationGuidOfMedicaName;

public interface MedicationGuidMapper extends CRUDMapper<MedicationGuid, Long> {
    ArrayList<MedicationGuidOfMedicaName> findByAllMedicalNameData();

    List<MedicationGuid> findByLikeMedicationName(@Param("medicationName")String medicationName);

    List<String> findMedicationNameByLikeMedicationName(@Param("medicationName")String medicationName);
}
